package com.pig4cloud.pigx.contract.websocket.message;

import com.pig4cloud.pigx.common.websocket.message.AbstractJsonWebSocketMessage;
import com.pig4cloud.pigx.contract.dto.AppContractSymbolIncreaseRankingDTO;

/**
 *
 */
public class AppContractSymbolIncreaseRankingWebsocketMessage extends AbstractJsonWebSocketMessage {
	/**
	 * 前端请求时会携带type，根据type匹配处理器
	 */
	public static final String TYPE = "contractSymbolRanking";

	public AppContractSymbolIncreaseRankingDTO getData() {
		return data;
	}

	public void setData(AppContractSymbolIncreaseRankingDTO data) {
		this.data = data;
	}

	private AppContractSymbolIncreaseRankingDTO data;

	public AppContractSymbolIncreaseRankingWebsocketMessage() {
		super(TYPE);
	}
}
